package cn.iocoder.yudao.module.mini.controller.admin.order.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderPageReqVO extends PageParam {

    @Schema(description = "订单编号")
    private Long number;

    @Schema(description = "技师id", example = "9546")
    private Long technicianId;

    @Schema(description = "技师id集合", example = "9546")
    private List<Long> technicianIds;

    @Schema(description = "技师名称", example = "9546")
    private Long technicianName;

    @Schema(description = "客户id", example = "18761")
    private Long customerId;

    @Schema(description = "客户id集合", example = "18761")
    private List<Long> customerIds;

    @Schema(description = "订单状态")
    private String state;

    @Schema(description = "服务地址id", example = "28646")
    private String addressId;

    @Schema(description = "服务项目id", example = "19866")
    private String projectId;

    @Schema(description = "订单总额（元）")
    private Long total;

    @Schema(description = "支付状态")
    private String isPayment;

    @Schema(description = "预约时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] serviceTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
